package ex2;

import java.util.ArrayList;

public class Staff {
	private ArrayList<StaffMember> staffList = new ArrayList<StaffMember>();
	
	public void payday() {
		for(int i=0;i<staffList.size();i++)
			System.out.println(this.staffList.get(i).toString());
	}
	public ArrayList<StaffMember> getStaffList() {
		return staffList;
	}

	public void setStaffList(ArrayList<StaffMember> staffList) {
		this.staffList = staffList;
	}
}
